<?php

include("admin_lock.php");

if(isset($_GET['addClass']))
{
	header("Location: add_class.php");
}
else if(isset($_GET['createStudent']))
{
	header("Location: create_student.php");
}
else if(isset($_GET['createInstructor']))
{
	header("Location: admin_create_instructor.php");
}
else if(isset($_GET['editCourses']))
{
	header("Location: edit_class.php");
}
else if(isset($_GET['editStudents']))
{
	header("Location: admin_select_edit.php?type=s");
}
else if(isset($_GET['editInstructors']))
{
	header("Location: admin_select_edit.php?type=i");
}
else
{
	header("Location: admin.php");
}

?>
